﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Draco.OWF.RT;
using Draco.OWF.DataBinding;

namespace Draco.OWF.Process
{
    public class ProcessDef : AbstractProcess
    {
        public ProcessDef(){ }
        public ProcessDef(String name) :base(name){ }
        public ProcessDef(String Id,String name) : base(Id,name) { }

        public override IJob CreateProcessInstance(IBindingDataItemCollection startParameters)
        {
            Job processInstance = new Job(this,startParameters);
            return processInstance;
        }
    }
}
